<?php

class IndexController extends Zend_Controller_Action
{
	function init()
    {
        $this->registry = Zend_Registry::getInstance();
        $this->view = $this->registry['view'];
        $this->view->baseUrl = $this->_request->getBaseUrl();
    }
    
	public function __call($methodName,$args)
	{
	
	}
    
	/*
	 * 
	 */
	function indexAction()
    {
    	//echo "11111";
    	
    	echo "<p align='center'><h1>全国共有".$tj."个市区！</h1></p>";
		//echo "<p align='center'><h1>全国共有".$tj。"个市区！</h1></p>";
    	
        //$this->view->bodyTitle = '<h1>Hello World11!</h1>';
		//echo $this->view->render('default/index.phtml');
    }

	function addAction()
    {
    	echo "2222";
        //$this->view->bodyTitle = '<h1>Hello World11 hahahahha</h1>';
		//echo $this->view->render('default/index.phtml');
    }

	function noRouteAction()
	{
		echo  "Sorry, this page cannot be access.";
	}
}
?>